<template>
  <div class="search-wrap">
    <div class="search-input" >
      <div class="left">
        <icon-search />
        <span>搜索</span>
      </div>
      <div class="search-keydown">
        <span>ctrl k</span>
      </div>
    </div>
  </div>
</template>

<script setup>

</script>

<style lang="scss" scoped>
.search-wrap {
  display: flex;
  align-items: center;

  .search-input {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 180px;
    height: 36px;
    padding: 0 10px;
    cursor: pointer;
    border: 1px solid var(--color-border-2);
    border-radius: var(--border-radius-large);

    .left {
      display: flex;
      gap: 4px;
      font-size: 14px;
      color: var(--color-text-3);

      span {
        font-size: 12px;
        color: var(--color-text-3);
      }
    }
  }

  .search-keydown {
    display: flex;
    align-items: center;
    height: 20px;
    padding: 0 6px;
    // background-color: var(--color-fill-3);
    border: 1px solid var(--color-border-2);
    border-radius: 4px;

    span {
      font-size: 12px;
      color: var(--color-text-3);
    }
  }
}
</style>
